Make rake db tasks work properly with sqlite when run not from the Rails root path.