FileRecorder concurrency fix