*8823* implement remote file support

lib/pkp module updates coming in a bit.
Would be good to unlink the temporary file after invoking copyFile. Is there more coming on this one?