Do not attempt to add metadata to a filetype that does not support it

Was this line removed intentionally?