openbox-keyconf: use tempory file to write config, and move it when it's ready