fixing issue #96, the regex used to match files is hanging in Windows 7 x64, so changing to use path.dirname instead
Merge pull request #98 from jasonjoneski/master

create to fix issue #96, grunt hanging on Windows