Fixes StackOverflow when generating MAGE-TAB with scanning protocol and extensionless raw data file