updated tmpFile to look in current execution dir instead of __dirname of
this module