Revert "Use the older, messier file-loading code -- might work better with Mingw."

This reverts commit 93f1b0e5d5b9dae25afc3b422a7c7a777d65c619.
seeing if this'll fix the windows path problem