Fixed file paths for OS X

Need using File.separatorChar instead File.separator