sid: Implement InputPlugin::is_our_file.  Little cleanups.