Fixed DiskSpace read and write methods