copy: mkdir of the destination file's parents. closes #146