work on io_stmt globals/locals propagation and use
Write_Stmt#translate rely on io_stmt_common