allow '@ ' in filenames

Use case: systemd's unit file may be instantiated from a template file that contains "@" character. Currently creating such a file, e.g. myunit@.service is rejected.