1/0 fix for files with size=0