switch from exec to execFile to fix problems with filenames with spaces