fix bases 2-36 to use lowercase

Matches ruby to_s method