Hi Ostapas,
I don't have a direct answer for you, sorry. But let me offer a word of encouragement. When I am faced with a model that has a texture that is not a power of two, I export the texture, & import it to an image processing program. (I either use Irfanview, PSP or Photoshop) and convert the size to a nice power of two. Very often, as long as the texture width and height are about in the same proportion, only a little fiddling with the vertices is necessary. So, most of the time, I can do it in a few minutes.
So......... my suggestion is that you take an hour or so and experiment along these lines. You might find that you don't really need a complicated batch processing program.
Regards,