Basic sanitation for filenames

This is actually more stringent than required by linux, but it introduces extra convenience for file access purposes.