SERVER-12165 Only fallback on using the file name when a file name is actually specified