Refactor and prepare xtreemfs driver to commit in upstream nova.