bnet: Fix map counting on Windows.

The !countmaps command counted ".." as a map file thus incorrectly
bumping the count number by one.