Fixed windows util

Renamed some methods to windows correct ones
Updated gitignore