get rid of prim.file package

I'm not really sure anymore what I was thinking when I created the
package.  probably I thought I was getting it ready for
extension-ization, but really, for that I think it's enough to have
the primitives collected together in a single source file