I'm trying to write a file into a dir and I want to force the user to use a certain extension, but there doesn't appear to be a way to handle that.