Planet gaps in the dust layer of 3D protoplanetary disks - I. Hydrodynamical simulations of T Tauri disks