Document eliot.to_file().
Add dependency on characteristic.
Tests and implementation for eliot.to_file().