Support for file urls.

To simplify writing scraping code of a website step by step, I want to add support for file urls so the html achieved so far can be saved to disk. To keep down the number of web accesses.