When I read the word "piston" I assume some fluid or air will be involved. I also assume you will want the piston to seal against the walls of the cylinder and not leak as it moves. If that is correct, you are going to have to do MUCH more than just remove a weld seam. You are going to have to finish the inside of the cylinder to some very precise requirements.
Also, you did not say how long these pipes are.