Fix directory name encoding
Cleanup

Use parent property setters instead of calling `_set_value`.