fix: Properly escape spaces in pathnames