Don't use java.nio.file.Files.probeContentType due to problem with power amazon instances