unable to execute file in temporary directory