Add content_type to 'Invalid file type' message.