use quote_output to handle non-ascii paths