updating mkdir syntax for dest, to support nested directories, as per advice from @shama