add write_gcm plugin

done.