fixed astyle hook to work with deleted files