Travis does not apparently set the TMPDIR environment variable. Specify tmpdir.