Fixed file_info to report open error.