Fix content type detection
* src/mimemaker.cpp (infer_content_type): Fix it.
This never worked because the tolower did not increase the
suffix pointer and just filled the buffer with the first letter
of the suffix.
Now we have c++ we can simplify the tolower.