fix issues with listdir only getting the first thing it finds
clean spare print
fix unreliable test
fix stateful issue in compress, listdir should be more idempotent
make sure to close everything out and pop the refs before moving
Test does not work yet, stub out for now