IDEX-448: fix file tabs view.
Merge with master.