Introduce new option 'raw' in file_info functions

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