Correct order of fread args for mime reading.