travis: ensure /tmp/* dirs are created first (#2133)