Respect core.ignorecase in BuildRelativePathFrom()

Fixes #214