add posix_spawn [f]chdir file actions