Bug 867058 - Check bytes.length before decoding favicons. r=mfinkle