fix: use mkdirp for multi-level directory creation
fix: bug in sync.js if the playlist had an invalid item in it