Prefetch metadata to avoid locking files for metadate references.