Drop last row in as.data.frame since it is newline