Merge "recorder: Change the file read/write mode to be rw."