work around problem with ".ico" file handling