improve error message

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
save reason and state change time to status file

This updates status file version from 0 to 1.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>