save machine state image

Signed-off-by: Gabe Johnson <gabe.johnson@gmail.com>