Fixed issues with MIME types for avatar thumbs