[fix] DailyRotateFile is now writing to the correct file.

This is the fix for #504 with DailyRotateFile writing to the old file if it's been deleted.