fix file being passed to plugins.renamer.scan

Handle a file being passed to scan instead of a folder. This fixes some
other plugins that only a single file, such as the transmission torrent
plugin.