set Module.Name even when the file is completely empty (fixes case 501164)