fixed missing path in write try catch