findfile() appears to have some undocumented behaviour regarding commands in the path string. So escape them when we escape spaces. Closes #2109