resolve EISDIR error
Merge pull request #12 from ngds/handle-wfs

resolve EISDIR error