mod_rayo: added fileman API to simplify output/record control