Make sure you look carefully. Most likely, they are still .doc files, it's simply that the default program to open them is TextEdit. Try to right click, Get Info, Open With:, and make sure Word is selected, and then select "Change All" if you want Word to open all .doc files by default.
Obviously make sure Word is installed first 😀