Let's properly check this FILE pointer

Even though nbt_parse_file does this NULL check as well, it is
still a good idea to check this, as we can then print a helpful
error message to stderr.

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>