zen_db_input on filename

Filename might contain ' which causes the SQL to throw a error.