add default mime type to fix #341