Fix issue 340: #save should return filename