Fixed imports to be relative to the directory of the tscalr file.

I didn't optimize it, but just got the parent of the given file.