Fix calls to getBinaryOnlyMetadataFile()