Handle NULL return from libfann

When filename doesn't exist, libfann returns NULL from fann_create_from_file. This captures that, and throws a catchable exception when that happens.