FPSCounter: Add "Log render time to file" feature.

Allows for a more accurate performance measurement than the FPS log feature.
If you feel like it, it'd be good to also fix this line to read "Window" instead of "window".