Actually replace files and really reboot the system.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>