Fix spriter save to readonly location
Before this commit, spriter silently failed to save without notifying the user. This patch introduces more proper error handling.