Added some rudimentary image file validation for branding images, but I'm sure we'll want something better than this.