stringify variables passed to canonpath