Workaround for some versions/systems where finfo_open() with second
argument doesn't do the same as with no 2nd argument as it should