Use the url-tools module.
findParentDir resolver: Copied in the remains of the fsTools module from AssetGraph.

See One-com/assetgraph#147