How can I do this without reinstalling the rest of the files as well?
Download the package, for example
unpack the package with
restore the file, for example
remove the dir
I know this is a bit old, but here's my improvement:
I had a situation where the package was already installed (hence, the proposed solution didn't work), and I wanted to restore just one config file, in order to fix the problem.