IIRC I only did this from a pipelining perspective - ie this would ensure that we had the correct output filename as we moved through the operations with the expectation that the file format would change at some point (like when we extract a frame).