Adding more mimetypes.
Adding fallback for unkown text mimetypes.
Correcting typo.