Update DiskSpace.java

Adjusted DiskSpace to write bytearrays as opposed to strings converted into bytearrays into the file.