Fix binary IO regression