Update io.jl

I am not sure if I am catching what the original purpose of this if/else statement was but at least now I can correctly write out dataframes that have strings in them.