When converting the input stream to a byte array, we should not have been trying to convert it