lib/base/rawfile.cpp: no recursive mutex is needed here (small speedup)