It seems that the problem occurs when you start from a 8Khz sampling rate and try to convert to 16KHz
Converting the same wav file twice throws different output