Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
select the file in finder
command>I or file>get info
make sure the hide extension isn't checked
delete .txt and add .dwi in the name
press enter and a dialogue box with appear select use .dwi and now you have dwi
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.