Throw exception if rename fails
Test deleting/renaming an open file
Add tests for successfully renaming a file