[api] Added parameter 'force_overwrite' to force overwrite plugin output