add custom_file.h

this is used when __CUSTOM_FILE_IO__ is defined and avoids re-definition errors about the FILE define.