Create sanitized sql connection file