Don't panic when saving buffer with no file_path

fixes #27