Remove unused functions from Endit.pm
Remove legacy PNFS interface
Make filehandles lexical