Fix duplicate header bug.

This fixes a bug where Chrome will sometimes double report the x-dropbox-metadata header, making the metadata JSON parsing more robust.