One more thing: we can fix #839 by calling `Pathname#cleanpath` on both paths here before calling `#relative_path_from`.