Don't add empty metadata to fileObj