Remove gaps from $wgFileExtensions array