Corrected format-clang hook to execute BEFORE saving the buffer (not after!).