Removed wrong executable bit from many files. Closes #1498