fixed assignment bug in p.df and made csv output quote nonnumeric