Flip fread argument order to be more conservative

Manpages don’t say anything about buffer contents if the fread did only
partially succeed. Better safe than sorry.