Windows bug fixed

switch File.separator to "/" in packageToDirectory method