An empty file extension is legal on unix-like OS'es, and may be valid for certain use cases.