Use timestamps instead of a counter to get unique filenames.