Fix writeln function
Bump to v0.2.2