[fs] Implement rmdirSync() method