ghetto fix for uploading files without extension