scrapely.tool: add support for non-ascii <text> and <data> arguments

I think that there are two separate issues in https://github.com/scrapy/scrapely/pull/45:

1) non-ascii input in scrapely.tool leads to UnicodeDecodeError;
2) non-ascii data is not readable when printed.

This PR addresses (1).