FileAdapter: avoid crash when tinting