[MOSYNC-3287] Fixed an issue with capture files.

Waiting code review