Closes #745. as.data.table.matrix doesn't convert strings to factors.