Fix CRC16 encode : string to bytes

* should use SafeEncoder.encode() instead of String.getBytes()
Merge pull request #756 from HeartSaVioR/fix-crc16-encode-string-to-bytes

Fix CRC16 encode : string to bytes