Fix reading files to compare contents even when ComparingObjectOutputStream was able to tell us.