Added write options for the TMS packager.
Logic to write out earth files.