switch some calls to prim_file
Merge branch 'master' of https://github.com/biokoda/bkdcore