getting free space tries to get the space safely, if doesn't work and windows

the tries interop.