Remove newline from user expansion in path

Added strip() to remove the trailing newline added by echo during user path expansion. This would result in either problems with paths that have a \n in the middle of them, or things like plumbum.path.util.copy failing because scp cannot handle a trailing newline in path names.