used bytestrings where appropriate

again :-) hopefully I now got all the easy to fix errors