fixed integer conversion to string (bnc #874963)