using chdir-promise, fixes #14