Fix permissions in some test and source files.

Remove the executable bit that should have never been set in the first
place.
Merge pull request #2496 from rakuco/remove-executable-perms

Fix permissions in some test and source files.