Fiber Bragg grating based spatially resolved characterization of flux-pinning induced strain of rectangular-shaped bulk YBCO samples