Core/Achievements: Converted save queries to prepared statements