the proper way to join path components!