changed non-existent subprocess.ProcessException to OSError