fix *nix editing problem
fix script file mode
ignore *.pyc for python project