try catch createWriteStream