localecfg: only restore locale.gen.bak if available
Merge pull request #175 from codeworkx/master

localecfg: only restore locale.gen.bak if available