BUGFIX: use getFileMetadataFields from FileMetadata in
addMetadataField()
Merge pull request #1256 from atsareg/fix-v6r6

Bug fix in DFC