Fix result values for %readfrom and %writeto.

Bug fix, result was always empty.  Result of the main command shall
be returned as with $&readfrom and $&writeto builtins.  Result is
converted to a single number because this is what %pipe does.