fix arguments to path.join - must be strings