Close file after remuxing