Mime type fix implemented. Closes #3