fileutil: load_file() fixes
fileutil: load_file() fixes

- report actually read bytes.  Eg: different on win32
  due to dos line endings.

  Reported-by: Rich Schaaf

- free buffer on error

rabbitt/libusual,ifduyue/libusual,ifduyue/libusual,ifduyue/libusual,mgjv/libusual,mgjv/libusual,markokr/libusual,rabbitt/libusual,mgjv/libusual,rabbitt/libusual,markokr/libusual,markokr/libusual,rabbitt/libusual,mgjv/libusual,ifduyue/libusual,markokr/libusual