Fix custom view render_fn appending Documents

parse_xml() returns a Document, which was being appended causing an XML lib
error.

Fixes #12
Fix s/storage_file/stored_file/ typo