Fix redefinitions build errors/warnings

due to not third-party include-safe fio.h
Silence compiler warning for non-handled return code