add custom_file.h

this is used when __CUSTOM_FILE_IO__ is defined
Merge pull request #29 from thomasgubler/customfile

add custom_file.h