Fixed get_available_name again for windows