fix regression test bugs with NFS
drop excessive print stmts
remove unneeded close
catch sync file exception, try to speed up pickle file reads