C++ implementation of Dart's path library