avconv: move handling the 2pass logfile into avconv_opt