Make windows log_from_handle() handle partial lines
See #2045 (moved) for a full description of the problem. With #21654 (moved), we fixed the unix case, but the windows case may remain.
See #2045 (moved) for a full description of the problem. With #21654 (moved), we fixed the unix case, but the windows case may remain.