Fixed a bug where slashes were stripped out of destination paths.