PDI-12560:  HTTP step add date and time to file name options doesnot work properly

There are fix and unit test.