dos2unixing the files and perm changes when switching to linux