Path Integral Techniques in Molecular Dynamics Simulations of Open Boundary Systems