Fix executable permissions on files which shouldn't have it
Remove dist/ as it doesn't belong in the repo