Use std::string instead of path when parsing args