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

Fixes issue https://github.com/ShareX/ShareX/issues/95.