neuroml writer accepts strings and file handles