Combined copy/paste scripts, and refactored based on info over at
ChrisJohnsen/tmux-MacOSX-pasteboard#8.