File writing completed, codec problem