Minor improvements 2013 September 10

Previously, all data was being written as text.  Now, data will be
written in its proper format (text, float, or int).  Leading/trailing
whitespace removed.