Revert "dirty tmp fix (for rtfd)"

This reverts commit b87329250b59dfca9d79071d3ed82f9c276a262b.