config: copy the return value of prefix_filename