kbx: New function keybox_file_rename to replace rename.
* kbx/keybox-util.c: Include windows.h. (keybox_file_rename): New. * kbx/keybox-update.c (rename_tmp_file): Replace remove+rename by keybox_file_rename. * g10/keyring.c (rename_tmp_file): Ditto.
- Signed-off-by: Werner Koch <wk@gnupg.org>