It should be better to unlink temporary files ASAP.