Fix variable shadowing in windows C code

pathwatcher won't currently build in atom on windows due to a variable shadowing warning added by VS 2014. This fixes that.