Rename file on the fly, without additional point of failure with remote command for file renaming.

Signed-off-by: Daniel (dmilith) Dettlaff <dmilith@verknowsys.com>