path.join is not appropriate and leads to errors in Windows