Fix py2exe packagescan problem with new demandload
Fix error on Windows if "hg log | more" exits.
packagescan can't scan nested packages