Fix incorrect *nix file modes for scripts.