PAHMA-970: the Upload webapp creates empty files.