CB-7890 validate file copy operations in plugman

Signed-off-by: Shazron Abdullah <shazron@apache.org>