bfopen: minor code cleanup