I didn't see the source code for rmdtrash anywhere, plus I found it scary using a black box computer program that didn't even have any output and no --help function. I rewrote the necessary bits and gave it a --help argument to show usage, and a nice license to go with it (GNU General Public v3.0 or later). This is basically a drop-in replacement for rmdtrash.
clean7z <file(s)>
PVD_Dumper.py