HGImporter: ensure filenames are relative (#62)

Based on felipec/git@a160978, with thanks to Felipe Contreras.