Fixed issue with encoding in bewit. #24