checks if destination directory is writable; closes #32