Set history path to playlists directory if playlist directory
is non-NULL