Use to_string() to format DataFrames for clipboard.

Using str() has some unhelpful properties, especially when DataFrames
are large enough that the default repr does not show them in their
entirety. The defaults for to_string() are more helpful for the
clipboard.

Closes gh-5346