fix various bugs in path and error handling in execvp/fexecve