Set sqlite pragmas for ScriptStorage.

Refs #1798