Add rename, makedir commands and save path when changing directories

We also considered adding slightly more complete support for files knowing what path they were stored under. However, we thought that one of the nice things about the gem was its simplicity. We have found these changes useful—if you don't mind having them in the codebase, we'd like to use your repo rather than our fork.

Thanks.