Original file rebases

--rebased-from #754
--rebased-from #1291

Two minor fixes from develop backported to dev_4_4:
 * #754 the issue should not appear on dev_4_4 under normal circumstances, but moving to a proxy is certainly safer. Testing via the `Batch_Image_Export` as @will-moore did should suffice.
 * #1291 `bin/omero script replace` should now work as on the tin.