Fix buffering getTotalSpace
Merge branch 'hotfix/3304'

Close #3304
Merge branch 'fix_getTotalSpace' of git://github.com/qRoC/zf2 into hotfix/3313
Merge branch 'hotfix/3313' into develop

Forward port #3313