s3: enforce a positive allocation_file_size for non-empty files (bug #10543)