This is a known issue, the $recpass wildcard is incompatible with the option to start new files during recording. When that option is enabled, REAPER creates file handles in advance so they can be used immediately as needed without interrupting processing, which means the file is created before the $recpass value is known.
|