Performance Study of the CMS Barrel Resistive Plate Chambers with Cosmic Rays.