Prevent mkdir failure in a clustered environment by creating the
full directory path by default (can be turned off).
Fixes #133 Pass the external environment to the protocol manager.
Allow local/local copying for new xrdcp but not for the old one.