Protect file footer from concurrent access