fix writebfids pattern using file name instead of pnfsid