Fix #11. Remove the ?id= of certain filename before saving it to the filesystem.