There are various environment variables your system can have that influence where the temp files end up. itimpi told you of the calibre specific one. There are lots more,
http://docs.python.org/library/tempf...mpfile.tempdir
Presumably one of those is set on your system to something other than /tmp.