added user friendly error for EMFILE