Add sample plugin to save artifacts.

It was not tested yet.