Changed string concatenation of paths to calls to os.path.join().
Style changes to adhere to Python style guidelines (PEP8).