Remove execute bit from file permissions
Fix mangled filenames