Make sure to create scheduler db directory

Change-Id: I27d77cb9c34805f801c1ac377f64e5b95f2cc92a