Fixed double-opening a file
Hopefully fixed the issue of MCServer files being created in the wrong place.