Fix reliance on Py3 behavior of listdir().

Explicitly pass '.' to listdir, which works on both 2.x an 3.x.