Java MIME type prober