Bug 3581/technique copy file from shared folder does not work on root server

New fix for http://www.rudder-project.org/redmine/issues/3581, originally addressed in PR #137