Fixed validation of OFS.Image.File when checked by validate_content_types:

- Check if value is also of type File otherwise this method will think
  that the metadata for the OFS Images are of type text/plain which
  fails validation.