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