avoid repr() on paths in filesystem errors