Extend cover handling to work with file extensions of any length