accidentally writing to a read-only file and only finding out about it after a sync. Also removes redundant space primitive implementations that weren't used