changed material write to material library

The original method looped through all materials to write, creating a material object to hold it, then write each one to file. However, with the default methodology we instead overwote the contents of the pyne material due to the way write_hdf5 works for a Material object. Instead changing to materiallibrary preserves the materials contents in a format we want.