Enclose all paths in scripts with double quotes

parent #280 
`K_APPBASE` can be set externally, so we can't depend on the variable having quotes.