Minor improvements in the file backends