writer: fix leftover typo from the 'stream-parser' switch
writer: add debug() call when outputting default data length