do not quote in writedlm when called from print.
fixes #6305