Fix for "." to separate name from everything else in filename.