Rec file format tweaks (on behalf of @Atlante45)

any reason this shouldn't be const QByteArray& to avoid the copy?