Remove useless pathExists calls

Some were before mkDir, which now complains if the directory already
exists; one was before writeFile, which will return an error anyway.

The remaining uses of pathExists do not directly precede I/O operations.
Merge pull request #276 from rrthomas/ioobject

Remove useless pathExists calls