Fixing issue where Ares erases code when a file contains multiple kinds

Enyo-DCO-1.1-Signed-off-by: Jeremy Thomas <jeremy.thomas@lge.com>