Properly close files in the form wizards at the end of the request.