The temporary directory set under Admin > Configuration > File System is incorrect or does not have write permissions. Typically for local dev (on Linux/OSX machines) this path can simply be /tmp
. On Windows, I believe it is C:\temp
.
See: Configuring the temporary directoryConfiguring the temporary directory