Fix error when testing PyNNNumpyIO (due to string dtypes of different length).