Add _GoogleCloudStorageRewriteOutputWriter that protects us from corrupting the GCS files on slice retry.

This CL is a no-op: it contains refactoring to the old GCS writer and the new
class but it doesn't switch the record writer to use it.

Revision created by MOE tool push_codebase.
MOE_MIGRATION=7124