Better exception management for WTemplate cache dir problem