A new look at one-loop integrals in string theory