Check for a valid file name pointer when dumping a data file.
Check for a valid file name pointer when dumping a data file.

Old code, and it turns out that this would indeed cause crashes if BP_file_loaded() was called after the file was replaced by BP_file_load().

thpatch/thcrap,thpatch/thcrap,thpatch/thcrap,VBChunguk/thcrap,VBChunguk/thcrap,thpatch/thcrap,thpatch/thcrap,VBChunguk/thcrap