Style nitpicks.
Fix redirection so that "rdiff patch" works properly.
When done, update /images/image_update.stats so that phase
is finished and progression 100%.
Add "update_stats finished 100" when image has been installed.