convert: use gettempdir instead of platform-dependent "/tmp/"

crossplatform, yeah