Update src/savelev.c

Added capture of return value from write() to quiet warnings.