To export an RAF file you need to have done a full lap in a replay.
What you do is... BEFORE the lap starts (before the car crosses the starting line), you want to choose to Output Lap Data. Choose a name and then play the replay. Let the lap finish (you can fast forward the lap), and then once the car crosses the finish line on that lap, it should say "saved output" or something. Then you should have a RAF file in the
raf folder.
RAF's aren't replays, they are just files used for analyzing your laps from replays (Replay Analyzer File)