Handle mime type properly. Add ".ico" format back
Merge pull request #5 from ladios/mime-ico

Handle mime type properly. Add ".ico" format back