Added a convenience method for jar injection into an existing file with replacement.