Small fix and example for Attachments

I was playing with your code (awesome work thanks!) and noticed that I couldn't get the attachments to output to disk... narrowed it down to the missing slash here... also just added the output to disk code as an example so that people can get that going quickly :smile: