Fix bug with directories that are > 1000
Bump version to 1.0.2

Change-Id: I46d1a908c85c978eb724effc538f48842e1759b4