test on travis-ci seemed to fail when writing to /tmp/<dir> so added in logic to create
the <dir> under /tmp before trying to create files within <dir>.
bumped to dot release
updated changelog