FFileHelper::GenerateNextBitmapFilename

Generates the next unique bitmap filename with a specified extension