You were correct that /tmp is a place where you can temporarily store
files. The mistake was in rebooting, and assuming they would still be
there. I think there is a configuration option that controls whether
/tmp is cleaned on bootup, but I don't recall the details ATM. I'm sure
google knows though.