Exclude __init__.py and .git/.hg stuff when considering empty files/dirs (in an attempt to DWIM)