Some binary IO unfudges for JVM.