Error whilst building chat script (using FxDK project builder)

When trying to build the default chat script without FxDK it works properly however when using FxDK I get “EMFILE: too many open files”.