PMO-2696: fixed cloning of files attached to comments