Fix a regression in writing to the clipboard caused by recent refactoring.
The problem is that the clipboard file was read from before fclose() was called, so the contents hadn't yet been flushed.
Authored by: david_costanzo 2020-03-29
Parent: [r5149]
Child: [r5151]