Fixes file saving broken by last commit