curl file upload and mime-type hoohah