set thumbnail file ext according to thumb asset's ext

SUP-2516