red-brick: Add error code for EMFILE