The source project of this merge request has been removed.
Don't create temporary buffer to detect mimetype for saved local file
When the file is saved and local, we can just ask for the mimetype directly. We don't need to create a buffer first, which just wastes time in this context.