Reindent bzip2 code and some small speed improvements