Added rename test
Added close() before unlinking / deleting
Added File.rename()