Updated piped attachment documentation

The docs didn't include passing the document revision or callback function in the piped attachment example.

If you're copy/pasting the examples, plugging values in and expecting it to work and/or be notified when something fails it's rather difficult without them!