Fixed file path resolution for windows (hopefully)