Add file rename functions. Version bump to 0.3.1.