Handle path names with spaces