Addressing review comments:
1) use 4 spaces
2) result.is_err()
Merge pull request #1 from davidjz/master-mime-sniffer-failing-4046

Addressing review comments: