stash
stash copied to clipboard
Fix panic when fileSize is negative
Returns an error if fileSize is zero or negative. Existing behaviour was to return an empty string on empty file, and panic if filesize is negative.