Use declarative data binding to set the path and disabled attributes on the child directory and file elements
Fix another URI encoding bug