Fix wonky file permissions and noeols