Trying to make file paths safer across OSs

I'm actually using path.join() the right way now.