Fixed windows file sharing bug