Make BufferedFile::close public.
Test compilation without -std=c++11.