bugfix: deal with non-contact file being opened as contact file

Change-Id: I947aae321347b347e7437625fc517d3004591979
Merge branch into kk_mkt