sanitize filenames

cc @baxter