Rec file format tweaks (on behalf of @Atlante45)

const QString& filename, const QByteArray& byteArray