Shorten api.join_paths util a little