use append_segments for adding the base to the relative path because unicode.