Found a solution to my problem.
Since the file (ApplicationHost.config) is always in use, I found a previous backup (/inetpub/history/) and copy/pasted. This is not a solution for everyone as it does remove any new config changes, however in my case I did not lose any data.