Fixed crash when recording audio whith no rec directory set.