Shrinksafe script fixed to workaround Linux vs BSD stat packages.
Under MacOSX (BSD) the format for stat needs "-f" switch, while
under Linux stat needs "-c". Changed to use ls and awk, which
seem to be cross compatible.
import gae_django
import app_profiler.app_profiler
def main():
app_profiler.app_profiler.main()
if __name__ == '__main__':
main()