Use plain old FILE* to see if we can fix the 0 byte issue