img2enc: add option to use strftime() for filename