Improve render mode

Now the intermediate files are numbered to avoid collisions when files
have the same names. Also, for now the intermediate files are .ogg
because I don't care about quality.