Fix parsing of the buffer from save().

Output from extension->save() can contain quoted strings. This should
fix #27.