use buffer-file-name to filter buffer list

This makes the function compatible with certain uniquify-buffer-name configurations.. 
An example file name might be "layout.scss • Resources/static/shared".
I don't know if there might be a reason to not match against the buffer-file-name, I can change the code to check for both if you want to.