Fixes blank filedir.

Fixes #9, an exception caused by the filedir coming back blank. (At least on windows.)