allow destination folders to be an array of folders

Fixes #24.