PDO throws syntax errors when using sqlite as a backend