Introduce new option 'raw' in file_info functions

This option allows the caller not to go through the file server for information about files guaranteed to be local.