Use Tempfile instead of /tmp + UUID