Close old file when rotating