Fix permissions of source files
Fix filetype definition for Vim