Don't rely on Files.probeContentType() which won't work well inside OSGi