[CP-7391] Ensure new directories are created when copying binaries

Signed-off-by: Ben Chalmers <Ben.Chalmers@citrix.com>
Merge pull request #9 from benchalmers/cp-7391-2

[CP-7391] Ensure new directories are created when copying binaries