Map pid to namespace pid so proper tmp file name is used. Reviewed-by: sspitsyn, dholmes
Reviewed-by: darcy, ihse