$TMPDIR doesn't seem to exist on travis /cry