TOOLS-997: Make sure we save history (and not "null") when we have to use a file instead of SAPI. (Also hit in TOOLS-957)
TOOLS-997: Make sure we save history (and not "null") when we have to use a file instead of SAPI. (Also hit in TOOLS-957)

joyent/sdcadm,joyent/sdcadm,joyent/sdcadm