Fixes blank filedir.

Fixes an exception caused by the filedir coming back blank. (At least on windows.)
Merge pull request #11 from Boggart/filedirfix

Fixes blank filedir.
Writing maps is less fucky now.
Merge branch 'master' of github.com:N3X15/ByondTools