Fix the directory and revlog collision problem
This adds escaping for directory names so that directory foo.i doesn't
collide with the revision data for file foo.
#header## HG changeset patch# User #author## Date #date|date## Node ID #node##parent##desc##diff#