[#201] updated create method to use the correct directory format based on OS