Fixed: encoding has some escape mistakes.

I was using your LTSV-PHP library, and find some escaping mistakes.
- '\t' will not work. It needs to be double-quoted, I think.
- I also add a small validation in encoding.

Please check it out!