#796 - fix bug that prevents rejection of 0-byte files