Fixed to play a next file correctly even when a user is listing another
directory.