patch for quote delimiter bug with --dirroot opt

Fix for issue introduced in #174 when passing --dirroot option