MFC r275503:
Avoid unneeded malloc/memcpy/free if there is no metadata on disk.

Submitted by:   Dmitry Luhtionov <dmitryluhtionov@gmail.com>