Update cppformat and simplify MemoryMappedFile implementation