Check .ovf extension in upload_ovf

No check was present to avoid uploading a file different from ovf.