Working on bug 491. Add normalised absolute paths in import handler, to avoid confusion with '.' and '..'.