Replaced overload with Union type in os/path module

Resolves #436 
I wasn't sure what to do with these. Currently, everything is either `bytes` or `str`; replacing with Union would make combinations possible as well.