quote variables in quar to handle filenames with spaces