Do not overwrite decks, try foo 2.cod, foo 3.cod etc. if foo.cod exists