storage: add Stat and error checks in rename for plan 9