R function to print a dataset to a text file in a pleasing fixed width format