fix multiple sources/targets
fix possibly os-specific crash (currentStat === null)
Merge pull request #1 from abrkn/master

CLI and Windows fixes.