Creation of X-Ray Cavities in Galaxy Clusters with Cosmic Rays