Corona-like atmospheric escape from KBOs. I. Gas dynamics