Fix ETS-specific issue with jobs not submitting on CentOS machines because of weird automount issues with os.getcwd().
File mode stuff