file: Do not recycle the AVStream codec context

This the correct pattern since Libav 0.6.
file: Set the time_base to the AVStream

From Libav11 only setting the codec time_base triggers a warning.