Alexandre Julliard : wmc: Set the output format from the output file name.