Summing over trajectories of stochastic dynamics with multiplicative noise