Another few small file_entity changes and made the metadata fields locked so they cannot be deleted, altered or reused