Fix #156, add joinPath function