using `os.remove` instead of `sh.rm`. Fixes 181