Handle mime types correctly for files where the extension is capitalized

Fix for https://github.com/playframework/playframework/issues/3650