Fix header / trailing bytes bug. Bump to v0.2.1. Compatible w/ Nim >= 0.9.4.