Fixed PUTFile content stream not being closed on destruct.