Fix rm process - refs BT#9041
Log event system when a file/directory is removed - refs BT#9041