Move file_manip.h to a general header for all platforms.