fix vips_rawsave_fd()

see https://github.com/jcupitt/libvips/issues/143

thanks aferrero2707