SHDP-334 Fix naming with uuid

- Changed FileNamingStrategy to separate
  next() and reset().
- Fixed bug which got wrong rolling part especially
  when used with uuid in file name and with multiple writers.