fast repeat() for ByteStrings. closes #2800