ahh.  paths are relative of where the program is run from, so tmp directory was not being found.