Fix logic fail on partial writes with stratum send that was leading to corrupt message submissions.
News update.
Bump version to 2.10.5
Change file modes.