records: move new recordext function to records
Signed-off-by: Esteban J. G. Gabancho <esteban.gabancho@gmail.com>