>Beware that chdir affects all threads in a process. If this method is invoked >by two concurrent threads then one will not be writing in the directory that >it expected. > > Gah!!!! I was *reallly* hoping not to hear that!