bug fixed, if `component` (like a id) is a unicode instance, make_path would raise error