modify mechanize_crawler.py to support unicode file format