added fix for infinite rmdir loop and bumped version number

See issue #98