Add creation of tmp dir to Travis file

- Add creation of tmp dir to Travis file as it looks like it needs the
  directory to exist before the tests can write to it.