Add test for bagging content with 'data' present
Fix crash when bagging content containing 'data' dir

Fixes #29