Cleaned up error handling when files are not executable