autoimport: avoid hard coded temporary directory