use /tmp for temp files, not a relative directory