R/calculate_intensity.R: prepareBamFiles results column bam and oldBam are now character instead of factors

Signed-off-by: Charles Joly Beauparlant <Charles.Joly-Beauparlant@crchul.ulaval.ca>