Array struct members were ignored by SWIG binding generator (possible memory corruption)

I've fixed the problem in swig, see swig/swig#281 (not merged yet).
The bug has potential to cause memory corruption.
Noticed when trying to add an interface for mkdtemp, uv_fs_s
layout is totally wrong.