Fixed rename and newFile functionality

== Changes in index.html ==
- When service.load is called, service.directory will be called first

== Changes in files.js ==
- Removed datanode variables
- When a directory is empty, should now create a directory