safe.chars: Convert All Factor Columns to Character Columns
Description
By default, R converts character columns to factors.
Instead of re-reading the data using stringsAsFactors, the
safe.chars function will identify which columns are currently factors, and convert them all to characters.