improved random name of output file