It seems that there is some issue in CS5 with exporting document using vbscript (not sure about other scripting languages) and path containing cyrillic symbols. Error popped up every time I try to execute the line docRef.Export path & fname, 2, exportOptions if path containing non-latin characters (probably it only affects one with cyriilic characters though). Command docRef.SaveAs path & fname, jpgSaveOptions, True, 2 works just fine with any kind of path supplied. In CS4, CS3 and CS2 versions this problem doesn't occur.
Is this a known bug and what I should do with it if it's not? I really want help to improve Photoshop;)