Use static_cast in map_reserve to avoid boost::range warnings
Added strip_prefix and num_subpaths to filesystem