Issue 624 - Check the mimetype ond filename of the revision when processing a file