Fix for path issues, win/mac. Also removed double trailing slash even if user has their paths set wrong.