Emit chunks in proper order
Remove debugging file write
Bump version to 0.1.4