Exception handling for file_usage update

From #1640.