add .bak and .directory to gitignore