mime type check for avavatar