Effects of inhomogeneous flux pinning strength and flux flow on scaling of current-voltage characteristics in high-temperature superconductors