MB-12799 Do not use existing file name as a new compacted file name

Change-Id: I502ea9202031727c7617361200163d2cee83fc67