`rm' and `rmdir' compatible layers for `trash-put'