Close scratch files