simplify Redistent::Writer#write