Fix build and some scary warnings in RCoreFile->fd