Support windows by replacing File.separator with /