fix stog-writing#1: better error message when plugin file has no extension
fix stog-writing#1: better error message when a plugin cache file is missing