tessel/runtime#645 r=@johnnyman727: Fix up Buffer's handling of all the encodings