change the format of filename

Many logfiles need to be separated by date. 
And the logfile name with the date will help us to find specific file.
So add date format in filelog.go
What's more, it is safer to close the file before rename it.