Minor changes to create metadata files for binary documents.