Optical fibers in astronomical instruments