Find the last portion of a path. Similar to Node’s path.basename method.