Fix error handling when writing to data/
Handle error when module pdo_sqlite is missing
Add Troubleshooting section to README