helpers: added mkrfilename for making random file names instead of using mktemp remote_arg function escapes spaces within an arugment(s) for use passing remotely
move some module code to new modules