Fix createdb and createuser commands

h/t @bgshchiller