Strip trailing newline from Mac OS X clipboard contents