support directory as last argument to multi-argument rename command

issue #11