core: Remove slashes from user id in filenames

Fixes #37