Fix file permissions

Lots of files were executable that should not have been.