Added flatten)iolist/1 function.