fix vim file saving behavior

only run when changed file has modifications
make ready for guard version 2

removed guard 1.0.x compatibility
fixup version 2 behavior