add missing mkdir before the transfer begins

see #34