change output file name format

if used format '%Y-%m-%d %H-%M-%S' will split more than on file, if time
longer than a minites. For data alaysis, change format to '%Y-%m-%d %H'.