t4108: replace create_file with test_write_lines