pub fn safe_join(directory: &str, filename: &str) -> Option<PathBuf>
Safely join directory and filename, otherwise this returns None.