Detect and output correct file mimetype, fixes welefen/Fiddler#4
Merge pull request #8 from wmh/detect_mimetype

Detect and output correct file mimetype, fixes welefen/Fiddler#4