We potentially have the 2GB barrier issue on 32-bit systems.
Possible solution: https://github.com/owncloud/core/blob/master/lib/files/storage/local.php#L100
Or rotate in case of negative size as well.