fix crash on cat of non-existent file