[#1857] add consideration of hierarchy to mkDirForFilePath and delegate the mkdir to the appropriate plugin rather than defaulting to the internal resource
[#1857] Merge branch 'master' of github.com:irods/irods