Pythonic version of screencap name cleaner

Unit tests inside!