friendly write_recovery_version()

Change-Id: I43ad3d2600b9529d726aac435f0091713786ac4f