proper *nix support. was bug with local git repo, not related to file modes