write_basis function

Write a basis object to an LCModel .basis formatted file.