Added rmdir() and fixed a bug with _transport_live not being initialized