"io.open" to "os.rename" & feed fix

"io.open" won't work in Windows so I used "os.rename" to check if the folder exists. also fixed the feed generation location.