fix d3:start_link to return pid of container.

supervision on d3 processes requires pid of container to handle application shutdown
fix d3:open_file to return pid of container.