Generated documents used to have a date in their name but that was changed a few versions ago. The only thing that happens now is that a file extension is being set (for example: .pdf) when it does not have one yet. So just name the FileDocument before you call the generate document action and you're there.