Removed mimetype-fix as this caused incorrect output