pub const STATUS_EOF: u32 = 1;
A read ending in SSH_FX_EOF is a normal end of file. Any other status is a real failure, and conflating the two turns a directory into an empty 200.