CB-6466 Auto-create directories in download

Bringing WP8 in line with the other platforms to automatically create
missing directories in filetransfer.download().

I'm using automatic code cleaning, which also removed a bunch of new lines and properly indented a block of code that was indented one space too many.