Make tests runnable unmodified on older systems

Use File::Path's rmtree and mkpath instead of remove_tree and make_path