[blog] catch IOError when trying to open non-existing file