plugins: compositor: modify ScreenShooter to accept file name

Feature #731.
Signed-off-by: Nikolay Nizov <nizovn@gmail.com>
Can you rework that to not return a variant but an empty file name in the error case? That would be the cleaner approach.