Working version of remote fetch capability

These changes have been tested on Windows called from both MATLAB and
IPython.  They have also been tested on Linux, using a partial copy of
the Ska environment on a FOT dev box, but they have not been tested in a
full Ska environment.  This commit matches FOT SVN repo rev 6873.