Fixed bug in noninteractive_appendClipboardContents.