Errno to kBudErr* values
read_file_fd now part of common.c