Fixed a path issue in rename()
Set dirty bit in file classes
Switch to compressing with zlib instead of gzip